package com.wzy.vx.enums;

import lombok.Getter;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.enums
 * @ClassName: OrderStatusEnum
 * @Author: Administrator
 * @Description: ${description}
 * @Date: 2019/3/12 17:14
 * @Version: 1.0
 */
@Getter
public enum OrderStatusEnum implements CodeEnum {
    NEW(0,"新订单"),
    FINISHED(1,"完结"),
    CANNEL(2,"已取消")
    ;

    private Integer code;
    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
